const jwt = require("koa-jwt")
const { secret } = require("../conifig/config")

const auth = jwt({ secret })


module.exports = auth